package indi.zhifa.study2024.common.auth.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;
import indi.zhifa.core.enummemo.entity.ann.EnumDesc;
import lombok.Getter;
import lombok.RequiredArgsConstructor;

@RequiredArgsConstructor
@EnumDesc(name = "数据库类型",desc = "数据库类型",defaultIdx = 0,defaultItem = "单数据源")
public enum EDataSourceType {
    SINGLE(0,"单数据源","单数据源"),
    MULTIPLE(1,"多数据源","多数据源");
    @EnumValue
    @Getter
    private final int code;
    @Getter
    private final String name;
    @Getter
    private final String desc;
}
